package systems.rpgBuilder;

import org.jdom.Element;

/**
 * @author grayfox
 *
 */
public class Type {

  private String multiLangueName;
  private String tableName;
  private String tableField;
  private String tableFieldValue;
  
  public Type(Element type)
  {
    this.multiLangueName = type.getChildText("multiLangueName");
    this.tableName = type.getChildText("tableName");
    this.tableField = type.getChildText("tableField");
    this.tableFieldValue = type.getChildText("tableFieldValue");
  }

  /**
   * @return the multiLangueName
   */
  public String getMultiLangueName() {
    return multiLangueName;
  }

  /**
   * @return the tableName
   */
  public String getTableName() {
    return tableName;
  }

  /**
   * @return the tableField
   */
  public String getTableField() {
    return tableField;
  }

  /**
   * @return the tableFieldValue
   */
  public String getTableFieldValue() {
    return tableFieldValue;
  }
}